{imp:"faqs/a_laymob"}<!--模板继承-->

{block:pimp}
<style type="text/css">
dl.sct-qa-tags { padding:10px 10px 0 10px; }
dl.sct-qa-tags dt{ font-weight:normal; display:inline-block; background: #F4F4F4; padding:2px 10px; margin:0px 10px 10px 0; border:1px solid #DDD; }
dl.sct-qa-tags dt:hover { color: #F00; background:#FFF; }
</style>
{/block:pimp}

{block:main}
<dl class="sct-qa-tags">
<?php
$where = tex_faqs::expwhr($this); // [keywd][where,$where] 
?>
{tag:qas=[Page][modid,qatag][show,1][order,hotcnt][limit,120]}
    {:row}
    <dt><a href="{surl(0)}?mkv=faqs--list&tag={=$t_title}" class="c<?php echo tex_faqs::rndColor(); ?>">{title($t_title,24,$v)}({=$t_hotcnt})</a></dt>
    {/row}
    </dd>
{/tag:qas}
</dl>
    <?php 
    if($_cbase['page']['prec']){ echo $_cbase['page']['bar']; }
    else{ echo "<dt>{lang(user.qa_nodata)}</dt>"; }
    ?>
{/block:main}

{block:uend}{:parent}{php}
$jstr = "var qas_id='_allt', qat_id='tag';";
echo "<script>$jstr</script>"; 
{/php}{/block:uend}

